// -----------------------------------------------------------------------
//  <copyright file="IExpiring.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2024 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2024/12/18 20:53</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Domain.Entity;

/// <summary>
/// 定义可过期，包含生效时间和过期时间
/// </summary>
public interface IExpiring
{
    /// <summary>
    /// 生效时间
    /// </summary>
    DateTime? BeginTime { get; set; }

    /// <summary>
    /// 过期时间
    /// </summary>
    DateTime? EndTime { get; set; }
}
